SET YEKKI_HOME=@YEKKI_HOME@

CALL "%YEKKI_HOME%\bin\yekkiEnv.cmd"

SET YEKKI_WORKBENCH_HOME=@YEKKI_WORKBENCH_HOME@
SET WL_HOME=@WEBLOGIC_HOME@

call %WL_HOME%\common\bin\commEnv.cmd

SETLOCAL EnableDelayedExpansion

FOR %%j in (%YEKKI_WORKBENCH_HOME%\lib\*.jar) DO SET CLASSPATH=%%j;!CLASSPATH!
FOR %%j in (%YEKKI_WORKBENCH_HOME%\dev\lib\*.jar) DO SET CLASSPATH=%%j;!CLASSPATH!
FOR %%j in (%YEKKI_HOME%\lib\*.jar) DO SET CLASSPATH=%%j;!CLASSPATH!
FOR %%j in (%XMLBEANS_HOME%\lib\*.jar) DO SET CLASSPATH=%%j;!CLASSPATH!
FOR %%j in (%GROOVY_HOME%\embeddable\*.jar) DO SET CLASSPATH=%%j;!CLASSPATH!

SET CLASSPATH=%YEKKI_WORKBENCH_HOME%\dev\java\build;%YEKKI_WORKBENCH_HOME%\dev\groovy\build;%YEKKI_WORKBENCH_HOME%\dev\xmlbean\build;%CLASSPATH%;

CD %YEKKI_WORKBENCH_HOME%

START "Oracle WebLogic Yekki Workbench ----- %YEKKI_WORKBENCH%"